package com.dx.common.table.ppt;

/**
 * Spc_ret_mfg_dataId entity. @author MyEclipse Persistence Tools
 */

public class Spc_ret_mfg_data_ksId implements java.io.Serializable {

	// Fields

	private String tool_id_fk;
	private String evt_seq_id_fk;
	private Integer data_seq_id_fk;

	// Constructors

	/** default constructor */
	public Spc_ret_mfg_data_ksId() {
	}

	public Spc_ret_mfg_data_ksId(String tool_id_fk, String evt_seq_id_fk, Integer data_seq_id_fk) {
		this.tool_id_fk = tool_id_fk;
		this.evt_seq_id_fk = evt_seq_id_fk;
		this.data_seq_id_fk = data_seq_id_fk;
	}

	/** full constructor */


	// Property accessors
	public String getTool_id_fk() {
		return tool_id_fk;
	}

	public void setTool_id_fk(String tool_id_fk) {
		this.tool_id_fk = tool_id_fk;
	}
	public String getEvt_seq_id_fk() {
		return this.evt_seq_id_fk;
	}

	public void setEvt_seq_id_fk(String evt_seq_id_fk) {
		this.evt_seq_id_fk = evt_seq_id_fk;
	}

	public Integer getData_seq_id_fk() {
		return this.data_seq_id_fk;
	}

	public void setData_seq_id_fk(Integer data_seq_id_fk) {
		this.data_seq_id_fk = data_seq_id_fk;
	}

	@Override
	public boolean equals(Object o) {
		if (this == o) return true;
		if (o == null || getClass() != o.getClass()) return false;

		Spc_ret_mfg_data_ksId that = (Spc_ret_mfg_data_ksId) o;

		if (tool_id_fk != null ? !tool_id_fk.equals(that.tool_id_fk) : that.tool_id_fk != null) return false;
		if (evt_seq_id_fk != null ? !evt_seq_id_fk.equals(that.evt_seq_id_fk) : that.evt_seq_id_fk != null)
			return false;
		return data_seq_id_fk != null ? data_seq_id_fk.equals(that.data_seq_id_fk) : that.data_seq_id_fk == null;
	}

	@Override
	public int hashCode() {
		int result = tool_id_fk != null ? tool_id_fk.hashCode() : 0;
		result = 31 * result + (evt_seq_id_fk != null ? evt_seq_id_fk.hashCode() : 0);
		result = 31 * result + (data_seq_id_fk != null ? data_seq_id_fk.hashCode() : 0);
		return result;
	}
}